<?php
  session_start();
  $ara = $_SESSION['name'];
  $ere =$_SESSION['touxiang_img'];
  
 $comment=$_GET['comment'];
 $time=$_GET['time'];
 $list_id=$_GET['list_id'];
 $sql="INSERT INTO tbl_comment (`comment`,comment_img,comment_name,`time`,Fabulous,list_id)VALUES('$comment','$ere','$ara','$time',0,'$list_id')";
 $link = mysqli_connect("127.0.0.1","root","","news");
 mysqli_set_charset($link, "utf8");
   $res=mysqli_query($link,$sql);

?>